'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function SubscribeMultipleEvents( _ ByVal client As IEasyAEClient, _ ByVal eventsSubscriptionArgumentsArray() As AEEventsSubscriptionArguments, _ ByVal callback As EasyAENotificationEventHandler _ ) As Integer()
'Usage
Dim client As IEasyAEClient Dim eventsSubscriptionArgumentsArray() As AEEventsSubscriptionArguments Dim callback As EasyAENotificationEventHandler Dim value() As Integer value = IEasyAEClientExtension2.SubscribeMultipleEvents(client, eventsSubscriptionArgumentsArray, callback)
[Extension()] [NotNull()] public static int[] SubscribeMultipleEvents( IEasyAEClient client, AEEventsSubscriptionArguments[] eventsSubscriptionArgumentsArray, EasyAENotificationEventHandler callback )
[Extension()] [NotNull()] public: static array<int>^ SubscribeMultipleEvents( IEasyAEClient^ client, array<AEEventsSubscriptionArguments^>^ eventsSubscriptionArgumentsArray, EasyAENotificationEventHandler^ callback )
Parameters
- client
- The client object that will perform the operation.
- eventsSubscriptionArgumentsArray
- Array of arguments, one element per each OPC events specification involved in the operation.
- callback
- A callback method to be invoked for each OPC event.
Return Value
The function returns an array of integer handles. Each such handle uniquely identifies the events subscription. The indices of elements in the output array are the same as those in the input array.